import request from '@/utils/request';

export function getApi(query) {
  return request({
    url: '/getApi',
    method: 'get',
    params: query,
  });
}
export function postApi(data) {
  return request({
    url: '/postApi',
    method: 'post',
    data,
  });
}
export function putApi(data) {
  return request({
    url: '/putApi',
    method: 'put',
    data,
  });
}
export function deleteApi(params) {
  return request({
    url: '/deleteApi',
    method: 'delete',
    params,
  });
}
